/*
 * ThingButton.java
 *
 * Created on 2 de Abril de 2007, 21:58
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package editorlabirinto;

import javax.swing.JToggleButton;

/**
 *
 * @author tschimuneck
 */
public class ThingButton extends JToggleButton
{
    private int myId;
    private Thing myThing;
    /** Creates a new instance of ThingButton */
    public ThingButton()
    {
        super();
    }
    
    public void setThing(Thing myThing)
    {
        this.myThing = myThing;
    }

    public Thing getThing()
    {
        return this.myThing;
    }
}
